ISlave.AoeReadWriteCommand method
Reads and writes data through ADS over EtherCAT (AoE) at the same time.
Namespace: IntervalZero.KINGSTAR.Base.Class
Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
IKsCommand<byte[]> AoeReadWriteCommand(
int port,
int indexGroup,
int indexOffset,
int readLength,
byte[] writeValue
)
Function AoeReadWriteCommand(
port As Integer,
indexGroup As Integer,
indexOffset As Integer,
readLength As Integer,
writeValue As Byte()
) As IKsCommand(Of Byte())
Parameters
port
Type: int
The EtherCAT slave port.
indexGroup
Type: int
The index group of the object to read and write.
indexOffset
Type: int
The offset of the object in the group.
readLength
Type: int
The length in byte of the value to read.
writeValue
Type: byte[]
Pointer to the buffer containing the value to be written.
Return value
Type: IKsCommand<byte[]>
Returns the states of a method and a byte array.
Usable EtherCAT states
ecatPreOP, ecatSafeOP, ecatOP
See also